package com.mc.book.utils.wxgzh;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "wx.gzh")
public class WxGzhProperties {

    private String appId;

    private String appSecret;

    private String jssdk_accesstoken_url;
    private String jssdk_getticket_url;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getJssdk_accesstoken_url() {
        return jssdk_accesstoken_url;
    }

    public void setJssdk_accesstoken_url(String jssdk_accesstoken_url) {
        this.jssdk_accesstoken_url = jssdk_accesstoken_url;
    }

    public String getJssdk_getticket_url() {
        return jssdk_getticket_url;
    }

    public void setJssdk_getticket_url(String jssdk_getticket_url) {
        this.jssdk_getticket_url = jssdk_getticket_url;
    }

    @Override
    public String toString() {
        return "WxGzhProperties{" +
                "appId='" + appId + '\'' +
                ", appSecret='" + appSecret + '\'' +
                ", jssdk_accesstoken_url='" + jssdk_accesstoken_url + '\'' +
                ", jssdk_getticket_url='" + jssdk_getticket_url + '\'' +
                '}';
    }
}